#ifndef BM_CONFIG_H
#define BM_CONFIG_H
#ifdef __APPLE__
    #include <SDL/SDL.h>
#else
    #include <SDL/SDL.h>
	#include <stdio.h>
#endif

typedef struct ConfigStruct {
    char setting_name[20]; // setting name, 20 chars limit
    char setting_data[50]; // setting value, 50 chars limit
} ConfigStruct;

class BMConfig{
    private:

    public:
        BMConfig();
        int use_joystick;
        float sensitivity;

        int readConfig(char * src,ConfigStruct* config );
};

#endif //END BM_INPUT_H
